package com.basic.modules.ykf.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 客户咨询记录跟进记录
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-09-11 17:51:09
 */
@Data
@TableName("ykf_customer_consult_record")
public class YkfCustomerConsultRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long consultRecordId;
	/**
	 * 咨询记录ID
	 */
	private Long consultId;
	/**
	 * 跟进记录内容
	 */
	private String recordContent;
	/**
	 * 跟进方式 电话拜访/微信/千牛客户端
	 */
	private String recordType;
	/**
	 * 跟进日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date recordDate;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建者ID
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

}
